package com.projects.modular.realty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.projects.modular.realty.entity.Child;
import com.projects.modular.realty.model.params.ChildParam;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 家庭成员Mapper接口
 *
 * @author 曾大顺
 * @since 2025-02-11
 */
public interface ChildMapper extends BaseMapper<Child> {
    
    /**
     * 根据用户ID查询所有成员信息
     *
     * @param userId 用户ID
     * @return 成员列表
     */
    List<Child> selectByUserId(@Param("userId") String userId);
}
